# frv testcase for setlo $s16,$GRk
# mach: all

	.include "testutils.inc"

	start

	.global setlo
setlo:
	set_gr_immed	0,gr1
	setlo		0,gr1
	test_gr_immed	0,gr1
	setlo		1,gr1
	test_gr_immed	1,gr1
	setlo		0x7fff,gr1
	test_gr_immed	0x7fff,gr1

	pass
